package builder;

public class Director {
    public Computer makeAll(ComputerBuilder builder) {
        builder.buildProcessor("Intel i7");
        builder.buildMemory(16);
        builder.buildHardDisk(512);
        return builder.getResult();
    }
    public Computer makeNoHardDisk(ComputerBuilder builder) {
        builder.buildProcessor("Intel i7");
        builder.buildMemory(16);
        return builder.getResult();
    }
}
